package com.louis.kitty.admin.dao;

import java.util.List;

import com.louis.kitty.admin.model.SysDept;
import com.louis.kitty.admin.model.SysDeptVo;
import com.louis.kitty.admin.model.SysUser;

public interface SysDeptMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysDept record);

    int insertSelective(SysDept record);

    SysDept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDept record);

    int updateByPrimaryKey(SysDept record);
    
    List<SysDept> findPage();
    
    List<SysDept> findAll();

    List<SysDeptVo> findDepts();

    List<SysDept> findByCompany(Integer companyId);


    List<SysDept> findByCompanyList(Integer companyId);


}